package br.com.werp.suporte.Usuario;
import java.util.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * Creation Date 20/09/2004 10:22:01
 * Last Modify Date 31/07/2006 16:58:27
 */

public class UsuarioDetalheActionForm extends org.apache.struts.action.ActionForm {
  public String javascript;
  public String usur_nome;
  public String usur_login;
  public String usur_senha;
  public String senha_confirm;
  public String rolesOP;
  public String rolesDisp;
  public String ctrRole;
  public String[] roles = new String[0];
  public String empresaDisp;
  public String setorDisp;
  public String ctrEmpresa;
  public String[] empresa = new String[0];
  public String empresaId;
  public String setorId;
  public String empSetorOp;
  public String tabAtual;
  private boolean valida = false;
  public UsuarioDetalheActionForm() {
  }
  /**
    * JAVASCRIPT: Gets the value of this field.
    */
  public String getJavascript() {
    return javascript;
  }
  /**
     * JAVASCRIPT: Sets thhe value for this field.
     */
  public void setJavascript(String JAVASCRIPT) {
    javascript = JAVASCRIPT;
  }
  /**
    * USUR_NOME: Gets the value of this field.
    */
  public String getUsur_nome() {
    return usur_nome;
  }
  /**
     * USUR_NOME: Sets thhe value for this field.
     */
  public void setUsur_nome(String USUR_NOME) {
    usur_nome = USUR_NOME;
  }
  /**
    * USUR_LOGIN: Gets the value of this field.
    */
  public String getUsur_login() {
    return usur_login;
  }
  /**
     * USUR_LOGIN: Sets thhe value for this field.
     */
  public void setUsur_login(String USUR_LOGIN) {
    usur_login = USUR_LOGIN;
  }
  /**
    * USUR_SENHA: Gets the value of this field.
    */
  public String getUsur_senha() {
    return usur_senha;
  }
  /**
     * USUR_SENHA: Sets thhe value for this field.
     */
  public void setUsur_senha(String USUR_SENHA) {
    usur_senha = USUR_SENHA;
  }
  /**
    * SENHA_CONFIRM: Gets the value of this field.
    */
  public String getSenha_confirm() {
    return senha_confirm;
  }
  /**
     * SENHA_CONFIRM: Sets thhe value for this field.
     */
  public void setSenha_confirm(String SENHA_CONFIRM) {
    senha_confirm = SENHA_CONFIRM;
  }
  /**
    * ROLESOP: Gets the value of this field.
    */
  public String getRolesOP() {
    return rolesOP;
  }
  /**
     * ROLESOP: Sets thhe value for this field.
     */
  public void setRolesOP(String ROLESOP) {
    rolesOP = ROLESOP;
  }
  /**
    * ROLESDISP: Gets the value of this field.
    */
  public String getRolesDisp() {
    return rolesDisp;
  }
  /**
     * ROLESDISP: Sets thhe value for this field.
     */
  public void setRolesDisp(String ROLESDISP) {
    rolesDisp = ROLESDISP;
  }
  /**
    * CTRROLE: Gets the value of this field.
    */
  public String getCtrRole() {
    return ctrRole;
  }
  /**
     * CTRROLE: Sets thhe value for this field.
     */
  public void setCtrRole(String CTRROLE) {
    ctrRole = CTRROLE;
  }
  /**
    * ROLES: Gets the value of this field.
    */
  public String[] getRoles() {
    return roles;
  }
  /**
     * ROLES: Sets thhe value for this field.
     */
  public void setRoles(String[] ROLES) {
    roles = ROLES;
  }
  /**
    * EMPRESADISP: Gets the value of this field.
    */
  public String getEmpresaDisp() {
    return empresaDisp;
  }
  /**
     * EMPRESADISP: Sets thhe value for this field.
     */
  public void setEmpresaDisp(String EMPRESADISP) {
    empresaDisp = EMPRESADISP;
  }
  /**
    * SETORDISP: Gets the value of this field.
    */
  public String getSetorDisp() {
    return setorDisp;
  }
  /**
     * SETORDISP: Sets thhe value for this field.
     */
  public void setSetorDisp(String SETORDISP) {
    setorDisp = SETORDISP;
  }
  /**
    * CTREMPRESA: Gets the value of this field.
    */
  public String getCtrEmpresa() {
    return ctrEmpresa;
  }
  /**
     * CTREMPRESA: Sets thhe value for this field.
     */
  public void setCtrEmpresa(String CTREMPRESA) {
    ctrEmpresa = CTREMPRESA;
  }
  /**
    * EMPRESA: Gets the value of this field.
    */
  public String[] getEmpresa() {
    return empresa;
  }
  /**
     * EMPRESA: Sets thhe value for this field.
     */
  public void setEmpresa(String[] EMPRESA) {
    empresa = EMPRESA;
  }
  /**
    * EMPRESAID: Gets the value of this field.
    */
  public String getEmpresaId() {
    return empresaId;
  }
  /**
     * EMPRESAID: Sets thhe value for this field.
     */
  public void setEmpresaId(String EMPRESAID) {
    empresaId = EMPRESAID;
  }
  /**
    * SETORID: Gets the value of this field.
    */
  public String getSetorId() {
    return setorId;
  }
  /**
     * SETORID: Sets thhe value for this field.
     */
  public void setSetorId(String SETORID) {
    setorId = SETORID;
  }
  /**
    * EMPSETOROP: Gets the value of this field.
    */
  public String getEmpSetorOp() {
    return empSetorOp;
  }
  /**
     * EMPSETOROP: Sets thhe value for this field.
     */
  public void setEmpSetorOp(String EMPSETOROP) {
    empSetorOp = EMPSETOROP;
  }
  /**
    * TABATUAL: Gets the value of this field.
    */
  public String getTabAtual() {
    return tabAtual;
  }
  /**
     * TABATUAL: Sets thhe value for this field.
     */
  public void setTabAtual(String TABATUAL) {
    tabAtual = TABATUAL;
  }
  /**
    * Reset all fields.
    */
  public void reset(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    javascript = null;
    usur_nome = null;
    usur_login = null;
    usur_senha = null;
    senha_confirm = null;
    rolesOP = null;
    rolesDisp = null;
    ctrRole = null;
    roles = new String[0];
    empresaDisp = null;
    setorDisp = null;
    ctrEmpresa = null;
    empresa = new String[0];
    empresaId = null;
    setorId = null;
    empSetorOp = null;
    tabAtual = null;
  }
  /**
    * Validate fields and return ActionErrors.
    */

  public ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    valida = false;
    if (errors != null && errors.size() > 0) {
      javax.servlet.http.HttpSession session = request.getSession(true);
      ActionForward actionForward = null;
      session.setAttribute(mapping.getName(), this);
    }
    return errors;
  }
}
